package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/7 0007.
 */

public class AuthLoginRequestParams extends BaseRequestParams implements Parcelable {

    private static final String SERVICE = "boxAuthorizedLogin";



    private String token;

    public AuthLoginRequestParams() {


    }

    @Override
    public String getServiceString() {
        return SERVICE;
    }


    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.token);

    }

    protected AuthLoginRequestParams(Parcel in) {
        super(in);
        this.token = in.readString();

    }

    public static final Creator<AuthLoginRequestParams> CREATOR = new Creator<AuthLoginRequestParams>() {
        @Override
        public AuthLoginRequestParams createFromParcel(Parcel source) {
            return new AuthLoginRequestParams(source);
        }

        @Override
        public AuthLoginRequestParams[] newArray(int size) {
            return new AuthLoginRequestParams[size];
        }
    };
}
